CResourceInputStream Class Reference

Inheritance diagram for CResourceInputStream:
Inheritance graph
[legend]
Collaboration diagram for CResourceInputStream:
Collaboration graph
[legend]

List of all members.

Public Types

enum  SeekMode { kSeekSet, kSeekCurrent, kSeekEnd }

Public Member Functions

 CResourceInputStream (ByteOrder byteOrder=kNativeByteOrder)
 ~CResourceInputStream ()
bool open (const CResourceDescription &res)
virtual bool operator>> (std::string &string)
virtual int32_t readRaw (void *buffer, int32_t size)
virtual int64_t seek (int64_t pos, SeekMode mode)
 returns -1 if seek fails otherwise new position
virtual int64_t tell () const
virtual void rewind ()
ByteOrder getByteOrder () const
void setByteOrder (ByteOrder newByteOrder)
bool operator>> (int8_t &output)
bool operator>> (uint8_t &output)
bool operator>> (int16_t &output)
bool operator>> (uint16_t &output)
bool operator>> (int32_t &output)
bool operator>> (uint32_t &output)
bool operator>> (int64_t &output)
bool operator>> (uint64_t &output)
bool operator>> (double &output)

Protected Attributes

void * platformHandle

Detailed Description

Resource input stream


Member Enumeration Documentation

enum SeekMode [inherited]
Enumerator:
kSeekSet 
kSeekCurrent 
kSeekEnd 

Constructor & Destructor Documentation

CResourceInputStream ( ByteOrder  byteOrder = kNativeByteOrder  ) 

Member Function Documentation

ByteOrder getByteOrder (  )  const [inline, inherited]
bool open ( const CResourceDescription res  ) 
bool operator>> ( double &  output  )  [inherited]
bool operator>> ( uint64_t &  output  )  [inherited]
bool operator>> ( int64_t &  output  )  [inherited]
bool operator>> ( uint32_t &  output  )  [inherited]
bool operator>> ( int32_t &  output  )  [inherited]
bool operator>> ( uint16_t &  output  )  [inherited]
bool operator>> ( int16_t &  output  )  [inherited]
bool operator>> ( uint8_t &  output  )  [inherited]
bool operator>> ( int8_t &  output  )  [inherited]
virtual bool operator>> ( std::string &  string  )  [inline, virtual]

Implements InputStream.

int32_t readRaw ( void *  buffer,
int32_t  size 
) [virtual]

Implements InputStream.

void rewind (  )  [virtual]

Implements SeekableStream.

int64_t seek ( int64_t  pos,
SeekMode  mode 
) [virtual]

returns -1 if seek fails otherwise new position

Implements SeekableStream.

void setByteOrder ( ByteOrder  newByteOrder  )  [inline, inherited]
int64_t tell (  )  const [virtual]

Implements SeekableStream.


Member Data Documentation

void* platformHandle [protected]

The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:10:00 2013 for VSTGUI by  doxygen 1.6.1